/**
 * 
 */
package com.rivues.module.platform.web.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author iceworld
 *
 */
@Entity
@Table(name = "rivu5_rule")
@org.hibernate.annotations.Proxy(lazy = false)
public class Rule implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6200511827866326861L;
	private String id ;
	private String name ;
	private String description ;
	private String searchprojectid;
	
	@Id
	@Column(length = 32)
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")		
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getSearchprojectid() {
		return searchprojectid;
	}
	public void setSearchprojectid(String searchprojectid) {
		this.searchprojectid = searchprojectid;
	}
	
}
